<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <meta http-equiv="X-UA-Compatible" content="ie=edge">
  <title>Document</title>
</head>
<body>
  <!-- <script src="./for.js"></script> -->
  <script src="./clone.js"></script>
  <script>
    // var a = [
    //   [1,3],
    //   [2,3],
    //   4,
    //   5
    // ]
    obj1 = {}
    let obj2 = {
        b: obj1
    }
    obj1.a = obj2
    var c = {a: {a:1}, b: {b:2}, c: 3}
    var b = deepCloneWithStringfy(obj1)
    // a[0] = 4
    // b[1] = 0
    // c.b.b = 5
    console.log(obj1, b)
  </script>
</body>
</html>